package com.example.lyqwork.service;

import com.example.lyqwork.pojo.User;
import com.example.lyqwork.pojo.dto.UserDto;
import com.example.lyqwork.pojo.dto.UserEditDto;

public interface IUserService {
    //插入用户
    User add(UserDto user);
    //查询用户
    User getUser(Integer userId);

    User update(UserEditDto user);
    //删除
    void deleted(Integer userId);
}
